package com.ruoyi.ejkgl.ejkdb.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 二级库调拨对象 ejkgl_ejkdb
 *
 * @author huacai
 * @date 2024-12-10
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Ejkdb extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 二级库调拨ID */
    private String ejkdbId;

    /** 调拨工区 */
    @Excel(name = "调拨工区")
    private String dbGq;

    /** 调拨日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "调拨日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dbRq;

    /** 调拨人 */
    @Excel(name = "调拨人")
    private String dbR;

    /** 调拨到工区 */
    @Excel(name = "调拨到工区")
    private String dbdGq;

    /** ID是否存在 */
    @Excel(name = "ID是否存在")
    private String idWhere;

    /** 用户ID */
    private Integer userId;

    /** 部门ID */
    private Integer deptId;

    /** 调拨明细信息 */
    private List<EjkdbDbmx> ejkdbDbmxList;

    /** 调拨状态 */
    @Excel(name = "调拨状态")
    private String dbZt;

    /** 创建人部门 */
    @Excel(name = "创建人部门")
    private String deptName;

}
